package com.hex.ds.hdrs.common.utils;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * @Package: com.hex.ds.hdrs.common.utils
 * @ClassName Duration
 * @Description:秒转时分秒对象
 * @Author: <gc.zuo>
 * @Date 2022/2/28 18:57
 * @Version v1.0
 **/
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Duration {

    @ApiModelProperty(value = "秒")
    private Integer second;

    @ApiModelProperty("分")
    private Integer minute;

    @ApiModelProperty(value = "时")
    private Integer hour;
}
